package com.scyshkj.university.wechat.pay;

import com.scyshkj.university.wechat.utils.UuidGenerator;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * Created by 唐旭 on 2016/11/22.
 */
@Data
@MappedSuperclass
public class Recharge {
    @Id
    private String uuid = UuidGenerator.generate();

    /**
     * 玩校的accessToken
     */
    @Column
    private String accessToken;

    @Column
    private Boolean complete;

    public boolean isComplete() {
        return complete;
    }


}
